clipboard: Don't crash when data is requested from NULL window
authorBenjamin Otte <otte@redhat.com>
Fri, 13 Dec 2013 15:22:04 +0000 (16:22 +0100)
committerBenjamin Otte <otte@redhat.com>
Fri, 13 Dec 2013 18:07:42 +0000 (19:07 +0100)
commitd4c8f1028acf683303f3ff5ab5b351a3fa31f6e7
treeee0b75fe1dd3ebcbe42fd350c38b0d2a3c21c287
parentf123fe7fe710a8254ce9d13eefd64705cadc6920
clipboard: Don't crash when data is requested from NULL window

This could happen if data was requested from a separate screen now that
multi-screen is no longer supported.

Ideally, we'd want to support copying to other screens, but that
requires solving in GDK as that's X-specific so cannot be well
abstracted by GDK (without the reintroduction of multiple screens).

https://bugzilla.gnome.org/show_bug.cgi?id=719314
gtk/gtkselection.c